package com.wsx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wsx.entity.Category;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


public interface CategoryService extends IService<Category> {
    //添加分类
    void insertCategory(Category category);

    //根据id修改分类
    void updateByCategory(Category category);

    //根据ID删除分类
    public void remove(Long id);


}